add mremap as a Linux-specific function from libc