fix signatures of mmap-related functions from libc
auto merge of #14984 : thestinger/rust/libc, r=alexcrichton