Fix abc_rpc_getinfo when bitcoin-cli is disabled
Summary: get_cli_version requires bitcoin-cli
Test Plan:
cmake -GNinja .. -DBUILD_BITCOIN_CLI=OFF ./test/functional/test_runner.py abc_rpc_getinfo
Reviewers: #bitcoin_abc, PiRK
Reviewed By: #bitcoin_abc, PiRK
Differential Revision: https://reviews.bitcoinabc.org/D17285