Revert^2 "Add malloc calls to heap profile test"

This reverts commit c46ed05d01480d70b606f3afe20db65472984d18.

Reason for revert: This should no longer break tests in combination with ag/27844852

Bug: 345594182
Test: This ABTD run passed: https://android-build.corp.google.com/abtd/run/L99800030004526909/ - ran on a failing base build, including this change and ag/27844852.
Flag: TEST_ONLY
Change-Id: I49fef52fff110677b3b1f2d68e82594f3585de1a
4 files changed