mem: set fd to -1 for anonymous mmap