Fix bIgnoreBadMemAccess ignored in GetPointer.
Keep track of whether we're in the runloop or not.
Wait for the runloop to end in savestates/debug.

This way, even if the runloop hasn't checked coreState yet, we will wait.
Add a timeout so quit doesn't hang.

Kinda like before except now it'll quit faster if possible.
Don't bother resuming/pausing around savestates.

Only makes things more likely to crash.
Merge pull request #774 from unknownbrackets/savestates

Wait for jit to exit the runloop in debug, quit, and savestates
Fix downcount check without fastmem in jr.