Add benchmarks for readTxIn.

This commit adds a benchmark for the readTxIn function.