p2p: log addrman consistency checks
Summary:
[...] log addrman consistency checks in the BCLOG::ADDRMAN category when they are enabled with the -checkaddrman=<n> configuration option for values of n greater than 0.
Backport of core#22696.
Depends on D12272.
Test Plan:
ninja check bitcoind -checkaddrman=1 -debug=addrman
Check the logs are printed.
Reviewers: #bitcoin_abc, PiRK
Reviewed By: #bitcoin_abc, PiRK
Differential Revision: https://reviews.bitcoinabc.org/D12273