m68k: fix 64-bit arithmetic in atomic operations (bug 18128)