Fix a bad iterator dereference in sceMpeg.

Though not sure it should actually reach here, let's at least not crash.
Require 250us lead time to start a vtimer.

Matches tests, improves the threads/vtimers/delete test.
Put a 250us minimum on all vtimer scheduling.
Simplify alarm timing.

This is from when it seemed like sceKernelSetAlarm() was by cycles.
Corrects handling of large timer / sysclock params.
Protect against vtimers scheduled in past.
Improve some timing in msgpipes.

Probably not super important, but makes tests happier.

Also, when unscheduling an event, return the current time left, including
already spent time since last Advance.
Adjust semaphore timing slightly.

This matches tests a bit better.
Eat some cycles when canceling/deleting fpls.

Improves tests measuing timeouts remaining after delete.
Eat some cycles when starting a thread.

Seems to improve a test a bit, based on tests.
Eat some cycles when signaling semaphores.

Seems to match tests.
Fix the vrndi.s output range.

Was previously outputting only valid positive float values, but should use
a much wider range of a u32.

Might've affected randomness in some games.
jit: Actually jit vmtfc/vmfvc.

Sicne we have them and they are easy.
Initialize the VFPU revision from a PSP-3000 value.
Merge pull request #6823 from unknownbrackets/vfpu-minor

Fix the vrndi.s output range
Merge pull request #6822 from unknownbrackets/thread-funcs

Improve some timing / thread funcs
x86jit/ppcjit: Correct some bad sltiu compares.
Merge pull request #6825 from unknownbrackets/cpu-minor

x86jit/ppcjit: Correct some bad sltiu compares
Add a non-functional stub for sceNetResolverInit.
Lets a Quake II homebrew port by CROW_BAR boot again.
Merge pull request #6826 from thedax/hle-stub

Add a non-functional stub for sceNetResolverInit.
Merge https://github.com/hrydgard/ppsspp