common: Don't #include <sys/mman.h> if we don't use mlockall()

Windows systems do not have this header file, so it will generate
a compile error.

Signed-off-by: Kevin Cernekee <cernekee@gmail.com>