patch 8.0.1559: build failure without GUI

Problem:    Build failure without GUI.
Solution:   Adjust #ifdef for get_fpos_of_mouse().
diff --git a/src/ui.c b/src/ui.c
index 5cccd44..b758c4f 100644
--- a/src/ui.c
+++ b/src/ui.c
@@ -3199,7 +3199,8 @@
 
 #if defined(FEAT_GUI_MOTIF) || defined(FEAT_GUI_GTK) || defined(FEAT_GUI_MAC) \
 	|| defined(FEAT_GUI_ATHENA) || defined(FEAT_GUI_MSWIN) \
-	|| defined(FEAT_GUI_PHOTON) || defined(PROTO)
+	|| defined(FEAT_GUI_PHOTON) || defined(FEAT_TERM_POPUP_MENU) \
+	|| defined(PROTO)
 /*
  * Translate window coordinates to buffer position without any side effects
  */