Simulation study on the effects of diffractive collisions on the prediction of the observables in ultra-high-energy cosmic-ray experiments