Increase timeout delay time for waits.

Had previously had these lower, but my testing was biased by how quick
other things in ppsspp were.
Reduce the thread switching cost.

Maybe it was actually too high.  Some tests fail with it that high.
Support -g and -m in test.py at the same time.
Merge pull request #6440 from unknownbrackets/resched

Adjust some timeouts and the thread switch penalty