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
Add two new instructions to the MIPS interpreter for logging. vertex.pbp demo seems to use one of them.