Interplay between localized and itinerant magnetism in Co-substituted FeGa3