check that we were passed a valid mutex and ignore errors from the later pthread_mutex_lock. This makes our behavior more compatible with that of FSU pthreads.