Fix a bug in LSM where an autocommit transaction wasn't started.

Due to the change to delay allocating transaction IDs for read only
transactions.