[PATCH openEuler-5.10-LTS 087/141] perf/core: Fix reentry problem in perf_output_read_group()