Temporary Libretro surface patch, re-apply old patch except the ARM alloc hack