[openEuler-5.10 19/21] perf/core: Avoid put_page() when GUP fails