powerpc/irq: Replace #ifdefs by IS_ENABLED()