D-terms, unification, and the Higgs mass