[PATCH v3 10/14] selftests/nolibc: avoid sign-compare warnings