[MIPS] Add bcm1480 ZBus trace support, fix wait related bugs