[PATCH openEuler-5.10-LTS 65/81] perf/core: Fix perf_mmap fail when CONFIG_PERF_USE_VMALLOC enabled