Fix computation of the number of buckets in LongHash.