tests: Add HAVE_MMAP check for MinGW.