Fixing NumberOfAllocatedPages in PureMemoryJournalWriter