Warning fix in CCDeprecated.cpp and CCGLProgramState.h