avfilter/xbr: simplify left/up conditions