ntdll: Expand previous patch to use pthread_mutex