std.atomic: use spinlocks

the lock-free data structures all had ABA problems and
std.atomic.Stack had a possibility to load an unmapped memory address.
9751a0ae04Andrew Kelley committed on 7/11/2018, 11:38:01 PMparent9bdcd2a
12 files changedLine totals unavailable