[PATCH 5.10 251/563] powerpc/perf: move perf irq/nmi handling details into traps.c