Don't use dlsym to fetch libpthread's pthread_mutex_*lock symbols, just use the existing stubs.