AIG reported quarterly earnings that beat analysts’ expectations on Thursday and announced a new $3.5 billion buyback.