[PATCH v3 1/2] tools/nolibc: add pipe() and pipe2() support