RPCOverloadWrapper overloads some deprecated or disabled RPCs with
an implementation using other RPCs to avoid having a ton of code churn
around replacing those RPCs.
Backport of Core PR16528 [42/43] : https://github.com/bitcoin/bitcoin/pull/16528/commits/869f7ab30aeb4d7fbd563c535b55467a8a0430cf
Depends on D8487