Set $term_recount initial value to false

$term_recount isn't always set which results in a PHP warning on line 163.