[PATCH openEuler-1.0-LTS 36/36] perf/core: Avoid put_page() when GUP fails