[PATCH 28/32] selftests/nolibc: use snprintf() for printf tests