Critical point in the phase diagram of primordial quark-gluon matter from black hole physics