avfilter/vf_datascope: fix heap buffer overflow