When fps cap is hit, delay current thread only.

Fixes Jeanne d'Arc freezing.  Unfortunately, small hit to perf in God of
War, but may improve audio quality anyway...
Log context switch time, shorten logging a bit.

This is really useful for seeing why games are slow or hanging.
Merge pull request #3394 from unknownbrackets/framebuf-wait

Use a wait when hitting capped fps, instead of eating
Fixed some doubled semicolons
Use GEPrimitiveType everywhere instead of stupid integer
Merge pull request #3395 from Orphis/enumprim

Use GEPrimitiveType everywhere instead of stupid integer
Merge pull request #3397 from adrian17/master

Fixed some doubled semicolons
Update native with fix for disappearing button mappings ( #3399 )
Restore missing Recent tab option: Clear Recent Section.
Hard code MaxRecent to be 30. No real need to make it configurable anymore.
Revert hard-coding max recents to 30.
 Add two new instructions to the MIPS interpreter for logging. vertex.pbp demo seems to use one of them.
Merge pull request #3398 from thedax/master

MIPS interpreter: Log 2 more instructions. JIT(x86): Log more info when an instruction can't be interpreted.
Fix a couple spacing things.
Merge pull request #3400 from thedax/restoreMaxRecentOptions

Restore missing Recent tab option.
Re-disable Cheats on android.
Merge pull request #3401 from makotech222/cwcheat

Re-disable Cheats on android.
Wrap sceKernelCreateFpl and fix refer status.

Just initial changes to make it test properly.
Fix error handling in sceKernelCreateFpl().
Handle the fpl alignment option as well.
Implement basic fpl waiting.