This is the PTMR change.

You've been waiting after this change for years now and here it is
in all its glory: about 10 modified lines.
It fixes things: Sonic Jam, for instance. It improves things:
Megaman 8, for instance. But... I think it breaks things too.

git-svn-id: svn+ssh://svn.code.sf.net/p/yabause/code/trunk@3190 d7be59e3-070e-4b9a-85a1-4646befae34d
Fixed segmentation fault when deiniting sh2core.

We were trying to free the infinite loop debugger even
if there was no context.

git-svn-id: svn+ssh://svn.code.sf.net/p/yabause/code/trunk@3191 d7be59e3-070e-4b9a-85a1-4646befae34d