I know the wording isn't precise, but my experience has been that it is irrelevant which airline you are Star Gold in. All Star Golds have access to the contract lounges when travelling on the contracting carriers' flights.
I presumed they would have worded it differently if they meant it to be more restrictive.