[PATCH 5.18 641/879] powerpc/perf: Fix the threshold compare group constraint for power10