The QCD phase diagram and the gamma-ray bursts