Fixed PPSSPP crash on iOS 5. Fixes issue #5613.

This fixes the PPSSPP crash-on-launch bug that iOS 5 users have been experiencing for some time..

This also fixes issue #5613.

Tested to be working on multiple devices:
iOS: N90, N92, N81, N18, N41, N51, N42, N88
Android: X10, tate, mako, yuga