[PATCH v6 07/15] tools/nolibc: clean up mmap() routine