Fixed byte order used for colorkey and premultipled processing.
Fixing Mac build.