patch 8.2.1542: Vim9: test with invalid SID does not work in the GUI

Problem:    Vim9: test with invalid SID does not work in the GUI.
Solution:   Skip the test in the GUI.
diff --git a/src/testdir/test_vim9_script.vim b/src/testdir/test_vim9_script.vim
index 662024c..6d520a3 100644
--- a/src/testdir/test_vim9_script.vim
+++ b/src/testdir/test_vim9_script.vim
@@ -3261,6 +3261,9 @@
 enddef
 
 def Test_invalid_sid()
+  # TODO: why does this not work in the GUI?
+  CheckNotGui
+
   assert_fails('func <SNR>1234_func', 'E123:')
   if RunVim([], ['wq Xdidit'], '+"func <SNR>1_func"')
     call assert_equal([], readfile('Xdidit'))
diff --git a/src/version.c b/src/version.c
index a76e129..1a66eb6 100644
--- a/src/version.c
+++ b/src/version.c
@@ -755,6 +755,8 @@
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    1542,
+/**/
     1541,
 /**/
     1540,