Hurricane Lorenzo weakens into a Category 3 storm