Turkish PM: We will not put country at risk over Syria