ios orientation tweak

i was getting crashes in my ios projects where im only using ofxiOSEAGLView without ofxiOSViewController.
sometime i have to create custom view controllers which do not subclass from ofxiOSViewController.

this fix prevents that crash from occurring by first checking if the glViewController exists in the app delegate class.