[PATCH 2/6] selftests/nolibc: use waitid() over waitpid()