swscale: add endian conversion for RGB555 and RGB444 pixel formats