[PATCH openEuler-5.10 137/161] selftest: use mmap instead of posix_memalign to allocate memory