Fix mmaps of shared memory whose length is not a multiple of the page size to round up the length during replay the same way we do while recording.