Refactor rarch_init_autosave/rarch_deinit_autosave