Win32: When games hang, don't deadlock with Stop, Reset, and Enable Cheats.

When games hang, the stop, reset, and enable cheat options don't stop/reset the game as they should. This addresses that. I did relatively thorough testing and it seems to work alright, for me at least. It shouldn't affect the Disassembler's breakpoint functionality either.

Should fix https://github.com/hrydgard/ppsspp/issues/3940. Big, big thanks to @unknownbrackets for helping me out.