Optimize thread switching a bit.

~2.5% improvement in Zettai Hero Project (while multithreading.)
Small warning fix.
Avoid overhead calling __KernelIdle().

~1.8% improvement in Zettai Hero Project.
Merge pull request #3178 from unknownbrackets/perf

Thread switching performance improvements
Break fix title CG missing in Midlight club 3
Merge pull request #3180 from raven02/patch-2

Break fix title CG missing in Midlight club 3
Reschedule in sceKernelReferThreadStatus().

It's often called in loops waiting for a thread to wake up.

Fixes .hack//Link's sluggish performance.
Merge pull request #3182 from unknownbrackets/scheduling

Reschedule in sceKernelReferThreadStatus()
Update native with UI crashfix and a tweak
Update native again with another bugfix
Windows: Work around audio crash on exit.
Turn vcmp back on again, let's not trust the one-operand arm vcmp for now
Revert "Windows: Work around audio crash on exit."

This reverts commit 273b7126a8e39a7f74e55115f7c5a568f69f26a2.
Another frameskipping attempt. Now: 0=no frameskip, 1=auto frameskipt, 2-9=fixed frameskip.

There is still some flicker remaining in non-buffered rendering that I can't seem to get rid off.
Revert "Break fix title CG missing in Midlight club 3"

This reverts commit 94ded4c00cdb3a68ec885cc32bfecf6b27860b9f.
Add a method to save the gpr/fpr state in jit.
Make it possible to have more block exits.
endian on vfpu
endian for scempeg
endian for sceChnnlsv