The hurricane had been a Category 4 storm as it bore down from the eastern Pacific toward Mexico’s coast, but it may have weakened to a Category 3 before landfall.