[MIPS] R2: Implement shadow register allocation without spinlock.