Merge "Allow NULL in pthread_mutex_lock/unlock."