Bank of America Corp. said Friday it lost more than $2 billion in the third quarter as loan losses kept rising