Fixing an issue that wrong implementation in 'ccGLDeleteTextureN'.
Fixing compilation errors in CCImageCommon_cpp.h.
[Android] Usage changes: ccGLInvalidateStateCache --> GL::invalidateStateCache();