Fix to cgImage to fix compiler warnings.
Fix to cgImage to fix compiler warnings.

freedesktop-unofficial-mirror/xorg__lib__libxcwm,TeamEuclid/euclid,TeamEuclid/euclid,freedesktop-unofficial-mirror/xorg__lib__libxcwm