Added a read-only version of the alt_txn_t constructor.