patch 8.2.5102: interrupt not caught in test

Problem:    Interrupt not caught in test.
Solution:   Consider an exception thrown in the current try/catch when got_int
            is set.  Also catch early exit when not using try/catch.
diff --git a/src/testing.c b/src/testing.c
index 23ab98f..c49df4b 100644
--- a/src/testing.c
+++ b/src/testing.c
@@ -742,6 +742,7 @@
     suppress_errthrow = FALSE;
     in_assert_fails = FALSE;
     did_emsg = FALSE;
+    got_int = FALSE;
     msg_col = 0;
     need_wait_return = FALSE;
     emsg_on_display = FALSE;