MIPS: refactor cache loops to a macro