patch 8.2.3260: build failure with small features

Problem:    Build failure with small features.
Solution:   Add #ifdef.
diff --git a/src/ex_docmd.c b/src/ex_docmd.c
index 61feda2..773a6be 100644
--- a/src/ex_docmd.c
+++ b/src/ex_docmd.c
@@ -1388,6 +1388,7 @@
     return retval;
 }
 
+#if defined(FEAT_EVAL) || defined(PROTO)
 /*
  * Handle when "did_throw" is set after executing commands.
  */
@@ -1455,7 +1456,6 @@
     estack_pop();
 }
 
-#ifdef FEAT_EVAL
 /*
  * Obtain a line when inside a ":while" or ":for" loop.
  */