[PATCH v3 09/14] tools/nolibc: add rmdir() support