rpc: decoderawtransaction fixups
rpc: decoderawtransaction fixups

Github-Pull: #24718
Rebased-From: 96b3a9b72934e62c429a29dc85ceccbf75a662dd

bitcoinknots/bitcoin,bitcoinknots/bitcoin,bitcoinknots/bitcoin,bitcoinknots/bitcoin,bitcoinknots/bitcoin