cmake: Disable the use of mmap on Windows
Disable the use of `mmap` on Windows, which doesn't support it.

This fixes an issue introduced by 959b6127cffb9afe846824e26d9f5c3af56f1f6c and reported in #62228.