South Korean ex-leader's jail term upheld