Inmates rioted following protests in the city of Kobane over the killing of former Kurdish fighter, state media reports.