avfilter/vf_srcnn: use function to get number of threads