cxx: Decouple C++ runtime from 'env()->heap()'