patch 8.0.1565: can't build Mac version without GUI

Problem:    Can't build Mac version without GUI.
Solution:   Adjust when IME_WITHOUT_XIM is defined.
diff --git a/src/version.c b/src/version.c
index 18d50af..01b812c 100644
--- a/src/version.c
+++ b/src/version.c
@@ -775,6 +775,8 @@
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    1565,
+/**/
     1564,
 /**/
     1563,