fixed #4644 fix inconsistence for MenuItemToggle and GLProgram between j...

fixed #4644 fix inconsistence for MenuItemToggle and GLProgram between jsb and ch5