[iOS] Fix some warnings by comparing the correct enum types.
[iOS] Fix some warnings by comparing the correct enum types.

--HG--
branch : v1-9

jhu-lcsr-forks/ogre,jhu-lcsr-forks/ogre,jhu-lcsr-forks/ogre,jhu-lcsr-forks/ogre,jhu-lcsr-forks/ogre