Libya says at least eight people, mainly children, have died of suffocation inside a shipping container packed with migrants in the western coastal city of Zuwara.