Compile error resolution for CCGLView.m

Changes from commit https://github.com/cocos2d/cocos2d-swift/commit/dc0a2a892c0f745fcf1d2a657e1d8f672107d580 were causing builds for iOS to fail; this change allows them to build & run.