Fix slab_cid to not read past the end of ctable
Remove unused variable warning in slab_read_item