allocate the heap dynamically using mmap

The heap size can be controlled by setting the
EASYSANDBOX_HEAPSIZE environment variable.