[MTE] fix missing thread id from stack_mte_ring mapping

We would use thread->tid to name the mapping before it was set, so it
would always be zero.

Bug: 378140560
Change-Id: Id30c22b7e9d0155c79579b097c81e27f662b5d6d
diff --git a/libc/bionic/pthread_internal.h b/libc/bionic/pthread_internal.h
index 5db42ab..cbaa9a6 100644
--- a/libc/bionic/pthread_internal.h
+++ b/libc/bionic/pthread_internal.h
@@ -181,6 +181,7 @@
 
   bionic_tcb* bionic_tcb;
   char stack_mte_ringbuffer_vma_name_buffer[32];
+  bool should_allocate_stack_mte_ringbuffer;
 
   bool is_main() { return start_routine == nullptr; }
 };