Add a bit of debugging, hackily implement heap mask/flags from rpcmem_android.c.
Add a bit of debugging, hackily implement heap mask/flags from rpcmem_android.c.

ronen/Halide,kgnk/Halide,kgnk/Halide,psuriana/Halide,kgnk/Halide,ronen/Halide,jiawen/Halide,psuriana/Halide,jiawen/Halide,ronen/Halide,psuriana/Halide,psuriana/Halide,jiawen/Halide,jiawen/Halide,jiawen/Halide,kgnk/Halide,ronen/Halide,jiawen/Halide,ronen/Halide,ronen/Halide,kgnk/Halide,psuriana/Halide,kgnk/Halide,kgnk/Halide,psuriana/Halide,ronen/Halide,jiawen/Halide,kgnk/Halide,ronen/Halide,psuriana/Halide