Buildfix for MIPS in debug mode.
Also, remove assumption that EGL means GLES2. My board supports EGL+Desktop GL too.
Only set MOBILE_DEVICE and USING_GLES2 on ARM for known mobiles (iOS, Android, Blackberry). The others are usually Linux and use windowed environments.
Use iconv if it exists. Some Linux systems need it and other don't.
Merge https://github.com/hrydgard/ppsspp

Conflicts:
	native