Require MAP_HUGETLB for munmap.

Since the call to mmap is protected by #ifdef MAP_HUGETLB, linking to
munmap is unnecessary if that flag isn't defined.

This updates an earlier change: https://github.com/facebook/rocksdb/pull/141
Move <sys/time.h> include to platform-specific header.