Tools/MMAPs: Fix uninitialized value in mmap_generator

Fix uninitialized value in mmap_generator. This fixes mmaps_generator broken in some build configurations.
Fixes #12644