(Libretro core management) Cleanups to libretro_install_core