patch 8.2.3691: build failure with small features

Problem:    Build failure with small features.
Solution:   Add #ifdef. (Dominique Pellé)
diff --git a/src/gui.c b/src/gui.c
index 17f4e95..616f602 100644
--- a/src/gui.c
+++ b/src/gui.c
@@ -4413,8 +4413,10 @@
 	}
     }
 
+#ifdef FEAT_TITLE
     // update the title, it may show the scroll position
     maketitle();
+#endif
 
     prev_curwin = curwin;
     --hold_gui_events;