Revert "get rid of MemoryHeapPmem"

Revert conditionally to fix:
    cannot locate symbol "_ZN7android10MemoryBaseC1ERKNS_2spINS_11IMemoryHeapEEElj"

This reverts commit 7a7524810a0950c1c2b18014a8f1c637275165c4.