Fix a bug in OnDiskLastTxIdGetter reading stale data

It didn't go through the page cache, but accessed the neostore file directly.
It would therefore not see changes that have been made and committed, but not flushed.
We only flush our stores on log rotation.