avfilter/vf_datascope: cleanup code a little