A court in Guinea has sentenced 22 former officials and 202 miners to prison over illegal gold mining in the northeast