[MIPS] unexport null_perf_irq() and make it static