Add stackcollapse-gdb for the poor man's profiler

For some reason (?) perf could not generate backtraces for my application so I used the poor man's profiler instead.