swscale: implement >8bit scaling support.