Syria ready to cooperate with U.N. to fight terror