avfilter/vf_maskedmerge: add slice threading