refactor and simplify capturing backtraces from mmap hooks

The case of mmap and sbrk hooks is simple enough that we can do
simpler "skip right number of frames" approach. Instead of relying on
less portable and brittle attribute section trick.
7 files changed