Migrants in a detention facility in the Libyan capital Tripoli have reportedly been seriously wounded in a random shooting, the U.N. migration agency IOM said on Tuesday.