EU: Turkey's security concerns with Syria 'legitimate'