A gunman who killed three people in a South Korean convenience store was found dead following a police search.