```
This PR replaces RecursiveMutex CAddrMan::cs with Mutex CAddrMan::cs.
All of the related code branches are covered by appropriate lock assertions to insure that the mutex locking policy has not been changed by accident.
```
Backport of [[https://github.com/bitcoin/bitcoin/pull/19238 | core#19238]].
Depends no D12252 and D12254.