Create public function rarch_main_deinit_core