[PATCH openEuler-1.0-LTS v2] perf/core: Fix perf_mmap fail when CONFIG_PERF_USE_VMALLOC enabled