This is valid point, but its implications are limited: you're basically saying that if AIG collapsed, it would lead to further collapses (due to "the state of the financial markets at the time") and that could very well lead to GS suffering as well.
This is true, not just for GS, but for almost any other financial firm and bank in the United States. In that sense, we all, including end consumers, enjoyed the benefits of TARP bailouts - assuming that without them and policies related to them, the entire financial system would collapse and drop the US to something like the great depression or worse.