patch 8.2.1614: Vim9: cannot pass "true" to searchcount()

Problem:    Vim9: cannot pass "true" to searchcount().
Solution:   Use tv_get_bool_chk(). (closes #6854)
diff --git a/src/search.c b/src/search.c
index 7391ab0..c1da58b 100644
--- a/src/search.c
+++ b/src/search.c
@@ -4062,7 +4062,7 @@
     char_u		*pattern = NULL;
     int			maxcount = SEARCH_STAT_DEF_MAX_COUNT;
     long		timeout = SEARCH_STAT_DEF_TIMEOUT;
-    int			recompute = TRUE;
+    int			recompute = FALSE;
     searchstat_T	stat;
 
     if (rettv_dict_alloc(rettv) == FAIL)
@@ -4098,13 +4098,7 @@
 	    if (error)
 		return;
 	}
-	di = dict_find(dict, (char_u *)"recompute", -1);
-	if (di != NULL)
-	{
-	    recompute = tv_get_number_chk(&di->di_tv, &error);
-	    if (error)
-		return;
-	}
+	recompute = dict_get_bool(dict, (char_u *)"recompute", recompute);
 	di = dict_find(dict, (char_u *)"pattern", -1);
 	if (di != NULL)
 	{