Add an initial test for the libheaptrack code
This builds the code again instead of sharing it via a static library, since this way we can actually use the sanitizers to validate the code.