A Libyan warlord has been convicted of human rights violations at a detention facility in the country's west