[PATCH AUTOSEL 5.0 04/67] perf/core: Restore mmap record type correctly