On Windows MapViewOfFile requires the offset to be aligned on the system dwAllocationGranularity