Reapply "[MTE] allocate ring buffer for stack history"

This reverts commit 45b29f13bbefd1edc1d16a15bb4c1f8e8d8068fc.

The observed slowdown was actually an artifact of stack alignment.

Change-Id: I3af8af33c624491124bfed07e869b4330adfacb3
diff --git a/tests/mte_utils.h b/tests/mte_utils.h
index 6e8385c..020faec 100644
--- a/tests/mte_utils.h
+++ b/tests/mte_utils.h
@@ -40,4 +40,10 @@
   return p == p_cpy;
 }
 
+static void* mte_tls() {
+  void** dst;
+  __asm__("mrs %0, TPIDR_EL0" : "=r"(dst) :);
+  return dst[-3];
+}
+
 #endif