anv/allocator: Add helpers for dealing with bucket sizes