NativeIO: add mlock, munlock, mmap functions.

Signed-off-by: Colin Patrick McCabe <cmccabe@cloudera.com>