North Carolina Gov. Roy Cooper has commuted what have been lengthy sentences served by six criminal offenders in state prisons and granted pardons to two others.