Make rarch_load_state/rarch_save_state static functions