War-torn Syria exports terrorism, Turkey's Erdogan says