Dynamical Mean-Field Approach to Ni 2p X-ray Photoemission Spectra of NiO: A Role of Antiferromagnetic Ordering