patch 8.0.1165: popup test is still flaky

Problem:    Popup test is still flaky.
Solution:   Add a term_wait() call. (Ozaki Kiichi)
diff --git a/src/version.c b/src/version.c
index c055dd4..b28cd91 100644
--- a/src/version.c
+++ b/src/version.c
@@ -762,6 +762,8 @@
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    1165,
+/**/
     1164,
 /**/
     1163,