South Korea Q2 GDP beats forecasts on chip export surge