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