Six Flags in Talks to Avoid Filing for Bankruptcy