patch 8.2.1687: Vim9: out of bounds error

Problem:    Vim9: out of bounds error.
Solution:   Check that cmdidx is not negative.
diff --git a/src/version.c b/src/version.c
index a0a6983..0d0eaa5 100644
--- a/src/version.c
+++ b/src/version.c
@@ -751,6 +751,8 @@
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    1687,
+/**/
     1686,
 /**/
     1685,
diff --git a/src/vim9compile.c b/src/vim9compile.c
index e8a3a21..a53f05d 100644
--- a/src/vim9compile.c
+++ b/src/vim9compile.c
@@ -6903,7 +6903,8 @@
 	if (ea.cmdidx != CMD_SIZE
 			    && ea.cmdidx != CMD_write && ea.cmdidx != CMD_read)
 	{
-	    ea.argt = excmd_get_argt(ea.cmdidx);
+	    if (ea.cmdidx >= 0)
+		ea.argt = excmd_get_argt(ea.cmdidx);
 	    if ((ea.argt & EX_BANG) && *p == '!')
 	    {
 		ea.forceit = TRUE;