swscale: re-add support for non-native endianness.