avfilter/vf_threshold: add support for more formats