patch 9.0.0576: unused loop variables

Problem:    Unused loop variables.
Solution:   Use a while loop instead. (closes #11214)
diff --git a/src/digraph.c b/src/digraph.c
index d3ee296..5c73001 100644
--- a/src/digraph.c
+++ b/src/digraph.c
@@ -1596,7 +1596,7 @@
     if (retval == 0)
     {
 	dp = digraphdefault;
-	for (i = 0; dp->char1 != 0; ++i)
+	while (dp->char1 != 0)
 	{
 	    if ((int)dp->char1 == char1 && (int)dp->char2 == char2)
 	    {
@@ -1773,7 +1773,7 @@
     msg_putchar('\n');
 
     dp = digraphdefault;
-    for (i = 0; dp->char1 != NUL && !got_int; ++i)
+    while (dp->char1 != NUL && !got_int)
     {
 #if defined(USE_UNICODE_DIGRAPHS)
 	digr_T tmp;
@@ -1876,7 +1876,7 @@
     if (list_all)
     {
 	dp = digraphdefault;
-	for (i = 0; dp->char1 != NUL && !got_int; ++i)
+	while (dp->char1 != NUL && !got_int)
 	{
 #ifdef USE_UNICODE_DIGRAPHS
 	    digr_T tmp;