[PATCH 6.17 018/507] tools/nolibc: handle NULL wstatus argument to waitpid()