patch 8.2.5137: cannot build without the +channel feature

Problem:    Cannot build without the +channel feature. (Dominique Pellé)
Solution:   Add #ifdef around ch_log() calls. (closes #10598)
diff --git a/src/regexp_nfa.c b/src/regexp_nfa.c
index 40e7448..dd5f8ed 100644
--- a/src/regexp_nfa.c
+++ b/src/regexp_nfa.c
@@ -4248,8 +4248,10 @@
     {
 	if (nfa_timed_out != NULL)
 	{
+# ifdef FEAT_JOB_CHANNEL
 	    if (!*nfa_timed_out)
 		ch_log(NULL, "NFA regexp timed out");
+# endif
 	    *nfa_timed_out = TRUE;
 	}
 	return TRUE;