don't fail mmap_hook_test on mmap recursions

Because some backtracing methods (which we invoke as part of calling
mmap hooks) do use mmap themselves.

Fixes github ticket #1558
diff --git a/src/tests/mmap_hook_test.cc b/src/tests/mmap_hook_test.cc
index 206bc49..a9b9a65 100644
--- a/src/tests/mmap_hook_test.cc
+++ b/src/tests/mmap_hook_test.cc
@@ -81,11 +81,11 @@
 class MMapHookTest : public ::testing::Test {
 public:
   static void HandleMappingEvent(const tcmalloc::MappingEvent& evt) {
-    assert(!have_last_evt_);
     memcpy(&last_evt_, &evt, sizeof(evt));
     have_last_evt_ = true;
-    assert(evt.stack_depth == 1);
-    backtrace_address_ = evt.stack[0];
+    if (evt.stack_depth > 0) {
+      backtrace_address_ = evt.stack[0];
+    }
   }
 
   void SetUp() {