Don't crash when enable debug stats is enabled in a game, then turned off after exiting a game.
Merge pull request #5251 from thedax/crashFix

All platforms: Fix a crash where enabling Debug Statistics before entering a game, then disabling it after exiting a game causes the JIT to try to clear cache, when it's pointless