[PATCH 5.17 548/772] powerpc/perf: Fix the threshold compare group constraint for power10