Heavy-Quark Associated Production With One Hard Photon At Hadron Colliders