Possibility of QCD critical point sweep during black hole formation