Measurement of the Cross Section for Direct-Photon Production in Association with a Heavy Quark in p(p)over-bar Collisions at root s=1.96 TeV