add working a_spin() atomic for non-x86 targets