Remove unused variable warning in slab_read_item and itemx_deinit