mesa/formats: Fix swizzle flipping for big-endian targets