The UN says Turkey is being used as a main route for smuggling weapons to terrorist groups operating in Iraq and Syria.