patch 8.2.1767: Vim9: test fails with python support

Problem:    Vim9: test fails with python support.
Solution:   Use "let" in legacy function.
diff --git a/src/version.c b/src/version.c
index 7a2b4f8..8cfa149 100644
--- a/src/version.c
+++ b/src/version.c
@@ -751,6 +751,8 @@
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    1767,
+/**/
     1766,
 /**/
     1765,