Add (initial) support for pthread_mutex_trylock().