libretro_dummy_retro_deinit - check if buffer needs to be freed
first