On the QCD 2 → 3 contributions to the hadroproduction of heavy quarks