avfilter/xbr: localize some filtering variables