isl_qpolynomial_add_on_domain: compute gist with respect to domain