Anelka undergoing medical ahead of loan move to Juventus