avfilter/vf_masked*: add gray10 and gray12 support