HSBC announced a $2 billion share buyback after reporting a 5 percent year-on-year increase in pre-tax profit to $10.24 billion in the first half of 2017.