isl_local_space_is_div_constraint: extract out is_linear_div_constraint