Sign: add support for signing ancient TX_PUBKEY transactions