The storm is expected to make landfall on Mexico’s southern Pacific coast on Thursday.