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