Fixed pthread_spin_lock on sparc32/64 (bug 16882)