Giorgi retires at the WTA 1000 in Madrid