The message exchange came as North Korea and Russia have been expanding their cooperation while China apparently keeps its distance