Juve hesitated when offered Hamsik