This ensures the recently-added script version field of
types.ScriptPubKeyResult is set in the various RPCs that produce raw
transaction results. Namely, getrawtransaction, decoderawtransaction,
searchrawtransaction, and getblock (with the verbose tx flag set).
Note that this is a duplicate of the types.Vout.Version field.