avfilter/vf_atadenoise: rewrite using macro