Fix for bsd based oss (freebsd, openbsd, ...) where 'fd' argument
on mmap() is required to be -1 when MAP_ANON is requested.