Bandaid: mips doesn't seem to have the full set of atomics builtins.  I
will investigate more.