locking/rtmutex: Prevent spurious EDEADLK return caused by ww_mutexes