slab: Use a hashtable when looking up bufctls