StanChart announces $500 million share buyback as first-half profit climbs 19%