patch 8.2.0060: message test only runs with one encoding

Problem:    Message test only runs with one encoding. (Dominique Pelle)
Solution:   Run the test with "utf-8" and "latin1".  Fix underflow. (related
            to #5410)
diff --git a/src/message.c b/src/message.c
index 4040e5b..7a6e346 100644
--- a/src/message.c
+++ b/src/message.c
@@ -307,7 +307,8 @@
     }
     else
     {
-	for (i = (int)STRLEN(s); len + (n = ptr2cells(s + i - 1)) <= room; --i)
+	for (i = (int)STRLEN(s);
+		   i - 1 >= 0 && len + (n = ptr2cells(s + i - 1)) <= room; --i)
 	    len += n;
     }