South Korean stocks rise on tech gains