A South Korean man has been sentenced to a suspended prison term for deliberately gaining weight to evade military service.