Speed up debug build hashfunc lookup.
Add the option to hook, rather than replace, funcs.

This can be useful for debugging or developing translations/game hacks,
and also gives us options when dealing with GLES incompatibilities.
Update PC before going into a replacement func.

This way we can report the PC properly on errors, and the replacement func
can even look at PC.
Add a hook for Gods Eater Burst's swizzled copy.
Don't try to read breakpoint info after exit.

Fixes a crash on exit when on a breakpoint.
Add a hook for Hexyz Force's "monoclome" thread.

This fixes missing graphics in some areas in GLES, due to direct framebuf
access.
Clear replacements on savestate outside jit too.
Clean up the framebuffer force downloads.
Merge pull request #6197 from unknownbrackets/replace-funcs

Function replacement hooks and some GLES compat replacements