Problem: script heap is not reallocated on growth
Problem: script heap is not reallocated on growth

Solution: reallocation wasn't saved, saving it now.

Also, while at it, grow heap by max of HEAP_SIZE or the
allocation size.

PumpkinDB/PumpkinDB