mesa: rewrite _mesa_HashTable to use util_sparse_array, always use util_idalloc to allocate GL object IDs
This is a micro-optimization to make the hash table lookups faster. It's also a large simplification and cleanup of _mesa_HashTable
. util_idalloc
is required to keep track of allocated GL object IDs for util_sparse_array
.