patch 8.2.1196: build failure with normal features

Problem:    Build failure with normal features.
Solution:   Add #ifdef.
diff --git a/src/popupwin.c b/src/popupwin.c
index 0af6d52..59a0bdf 100644
--- a/src/popupwin.c
+++ b/src/popupwin.c
@@ -3504,10 +3504,12 @@
 			wp = mouse_find_win(&line_cp, &col_cp, IGNORE_POPUP);
 			if (wp != NULL)
 			{
+#if defined(FEAT_TERMINAL)
 			    // A terminal window needs to be redrawn.
 			    if (bt_terminal(wp->w_buffer))
 				redraw_win_later(wp, NOT_VALID);
 			    else
+#endif
 			    {
 				if (wp != prev_wp)
 				{