U.K. lender Barclays reported a net loss of £1.21 billion ($1.58 billion) loss for the first half of 2017, hit by the fall in sterling and a charge from the mis-selling of payment protection insurance.