guard mmap and munmap on reserved size, allowing zero size vector to conform to Posix requirements