Pakistan, Sri Lanka major victims of terrorism: COAS