[PATCH openEuler-22.03-LTS-SP1] rtmutex: Drop rt_mutex::wait_lock before scheduling