Weak corrections to Higgs hadroproduction in association with a top-quark pair