(iOS Dynarec) Fix crash when closing game