patch 8.2.4430: GTK: crash when using 'guiligatures' and reading from stdin

Problem:    GTK: crash when using 'guiligatures' and reading from stdin.
Solution:   Make a copy of the message. (Amon Sha, closes #9719, closes #9814)
diff --git a/src/fileio.c b/src/fileio.c
index 73fa11b..21417c2 100644
--- a/src/fileio.c
+++ b/src/fileio.c
@@ -759,8 +759,13 @@
 		// Also write a message in the GUI window, if there is one.
 		if (gui.in_use && !gui.dying && !gui.starting)
 		{
-		    p = (char_u *)_("Reading from stdin...");
-		    gui_write(p, (int)STRLEN(p));
+		    // make a copy, gui_write() may try to change it
+		    p = vim_strsave((char_u *)_("Reading from stdin..."));
+		    if (p != NULL)
+		    {
+			gui_write(p, (int)STRLEN(p));
+			vim_free(p);
+		    }
 		}
 #endif
 	    }