[ci skip]remove dependence of CoreGraphics for on mac

cocos2d-x doesn't use `CoreGraphics` on Mac OS X.