[PATCH 4.14 105/159] powerpc/perf: Fix oops when grouping different pmu events