gpa: Add helper to calculate size class of empty buckets

Empty buckets have their `alloc_cursor` set to `slot_count` to allow the
size class to be calculated later. This happens deep within the free
function.

This adds a helper and a test to verify that the size class of empty
buckets is indeed recoverable.
61f1b2db70Hampus Fröjdholm committed on 5/18/2024, 9:43:42 AMparent6a65561
1 file changedLine totals unavailable