[PATCH openEuler-5.10 34/60] perf/core: Fix reentry problem in perf_output_read_group()