iOS Orientation Fix

Luckily, not too much changed to fix this.

CreateFramebuffer() was determining the orientation of the screen by which orientations were supported, rather than the orientation the device was currently in. This caused applications that support multiple orientations to display incorrectly at times. I used the iOS OrientationSample in the Samples folder to fix and debug this.

Let me know if there are any issues with this. This fix should have only touched iOS specific code.