[PATCH 5.15 464/667] powerpc/perf: Fix the threshold compare group constraint for power10