Merge pull request #3535 from RisingFog/cya_savestate_memleak Properly clear JIT cache on save states