libstdc++: Fix try_lock_until and try_lock_shared_until on arbitrary clock