cli -netinfo: handle longer tor v3 local addresses
Summary:
This is a backport of core#20115 [3/4]
https://github.com/bitcoin/bitcoin/pull/20115/commits/773f4c99c00c0b1d8c1b53cb99ba571337100953
Depends on D10708
Test Plan: ninja && src/bitcoind --daemon && sleep 5 && src/bitcoin-cli -netinfo 4 && src/bitcoin-cli stop
Reviewers: #bitcoin_abc, Fabien
Reviewed By: #bitcoin_abc, Fabien
Differential Revision: https://reviews.bitcoinabc.org/D10709