South Korean government weighs whether to buy bonds of troubled companies