pthread_spin_trylock implementation for SPARCv9.