Top US military officer General Martin Dempsey will pay a rare visit to China this month as the Pacific powers discuss concern over tensions with North Korea.