20170804 business.international-business: GoPro's loss much smaller than estimates; shares surge 12 pct