[PATCH v5 11/14] tools/nolibc: clean up mmap() support