HCOLL-12 optimized entry size calculation in VSHM.Segment.remove()