Global gold demand slows in first half of 2017