slab: fix the type of the index on freelist index accessor