China to work with Pakistan to deal with threat of terrorism: FM Spokesperson