Lamela's Spurs medical on Thursday