swscale: move away x86 specific code from rgb2rgb