Ahead of a visit from Chinese President Xi Jinping, North Korea has reaffirmed its status as a nuclear-armed state.