patch 8.2.4079: MS-Windows: "gvim --version" didn't work with VIMDLL

Problem:    MS-Windows: "gvim --version" didn't work when build with VIMDLL.
Solution:   Adjust #ifdef. (Ken Takata, closes #9517)
diff --git a/src/main.c b/src/main.c
index 5723d46..8f3856f 100644
--- a/src/main.c
+++ b/src/main.c
@@ -2004,7 +2004,7 @@
 		{
 		    Columns = 80;	// need to init Columns
 		    info_message = TRUE; // use mch_msg(), not mch_errmsg()
-#if defined(FEAT_GUI) && !defined(ALWAYS_USE_GUI)
+#if defined(FEAT_GUI) && !defined(ALWAYS_USE_GUI) && !defined(VIMDLL)
 		    gui.starting = FALSE; // not starting GUI, will exit
 #endif
 		    list_version();