locking/spinlock, arch: Update and fix spin_unlock_wait() implementations