Conformal anomaly of generalized form factors and finite loop integrals