British pharmaceutical company GSK on Wednesday said it swung into a net loss in the third quarter after settling lawsuits in the United States surrounding its Zantac heartburn drug.