Mostar Köprüsü, Osmanlı Dönemi