MIPS: Tweak atomic ops for r6, workaround for toolchain issue.