fixing RGB32->RGB16 on big endian patch by (Colin Leroy <colin at colino dot net>)