[PATCH 4.9 061/145] powerpc/perf: Fix oops when grouping different pmu events