South Korea's current account surplus reached an all-time monthly high in May, bolstered by strong semiconductor exports.