Milan allowed to bid for Hamsik