HPCC-12452 Allow configurable bucket sizes for the heap allocator

* Using a lookup table generates more efficient code, and is more flexible

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>