Color coherence in a heavy quark antenna radiating gluons inside a QCD medium