Fix grayscale images crashing

As per #348, attempting to add grayscale images to the stage crashes.  While this fix isn't perfect - there are visual glitches that appear in SpriteBuilder, but not in the final product in cocos2d, it does fix it enough such that SpriteBuilder is usable with grayscale images without crashing and losing work.