unbreak heap-profiler-unittest on gcc 5

gcc 5 has got nice new optimization (-fipa-icf) which merges identical
functions into one. And that causes heap-profiler_unittest to fail
since it expects to see both Allocate and Allocate2 in heap
profiles. And smart GCC detects that they are same function and makes
one function out of two and thus breaks this test.

New code simply adds (disabled) logging calls to make those functions
non-identical.
1 file changed