Use reader lock for TxnOCC::commit_prepare()

This prevents unnecessary aborts when multiple OCC Txn are doing
read only operations.