Constraining Lorentz Invariance Violation Using the Crab Pulsar Emission Observed up to TeV Energies by MAGIC