Fixed crash in Quartz gamma ramp code

--HG--
branch : SDL-1.2