AIG considers legal action against Goldman Sachs: