Fix another bug in the profiler, that would happily overwrite memory.
Fix another bug in the profiler, that would happily overwrite memory.

libretro/ppsspp-native,hrydgard/native,libretro/ppsspp-native,libretro/ppsspp-native,hrydgard/native,libretro/ppsspp-native,hrydgard/native,hrydgard/native