swscale/x86/rgb2rgb_template: fix crash with tiny size and nv12 output