Fixed annoying segfault in libretro