The Adaptive Complexity of Maximizing a Gross Substitutes Functions