patch 9.0.0986: build failure with tiny version

Problem:    Build failure with tiny version.
Solution:   Add #ifdef.
diff --git a/src/term.c b/src/term.c
index 19d4fa1..3c9a243 100644
--- a/src/term.c
+++ b/src/term.c
@@ -5156,7 +5156,9 @@
 		|| kitty_protocol_state == KKPS_AFTER_T_KE)
 	    && term_props[TPR_KITTY].tpr_status != TPR_YES)
     {
+#ifdef FEAT_EVAL
 	ch_log(NULL, "setting seenModifyOtherKeys to TRUE");
+#endif
 	seenModifyOtherKeys = TRUE;
     }
 
@@ -5435,7 +5437,9 @@
 
 	    // Reset seenModifyOtherKeys just in case some key combination has
 	    // been seen that set it before we get the status response.
+#ifdef FEAT_EVAL
 	    ch_log(NULL, "setting seenModifyOtherKeys to FALSE");
+#endif
 	    seenModifyOtherKeys = FALSE;
 	}