swscale: fix overflows in output of RGB48 pixels.