fix subtle segfault when gc occurs during st_alloc_bins
fix type of sa_index_t as per funny falcon