Modification of Hauser-Feshbach calculations by direct-reaction channel coupling