global_heap: inline get_box_size and align_to