5.8 magnitude earthquake jolts South Korea