[PATCH v4 07/10] tools/nolibc: clean up mmap() support