Add const to fix build error in backtrace.cc

Review 1020 by @danielmewes