Fix linux (non bionic) arm64 build

PTRACE_PEEKMTETAGS has been introduced in glibc very recently in
https://sourceware.org/git/?p=glibc.git;a=commit;h=0ff786226c03456bef332950ecf51793205a4f5d
and is not yet available in major distributions.

mte_supported() is only defined in bionic.

Let's disable mte support in non bionic linux arm64 to fix the build
there.

Test: All unit tests pass.
Reported-at: https://github.com/google/perfetto/issues/209
Change-Id: Iaac59978ff1c83b26a8e0e8fc92c0f4b5769e615
diff --git a/libunwindstack/MemoryMte.cpp b/libunwindstack/MemoryMte.cpp
index 679f413..3841744 100644
--- a/libunwindstack/MemoryMte.cpp
+++ b/libunwindstack/MemoryMte.cpp
@@ -17,8 +17,10 @@
 #include <sys/ptrace.h>
 #include <sys/uio.h>
 
-#ifdef __BIONIC__
+#if defined(__BIONIC__)
 #include <bionic/mte.h>
+#else
+#define mte_supported() false
 #endif
 
 #include "MemoryLocal.h"
@@ -27,7 +29,7 @@
 namespace unwindstack {
 
 long MemoryRemote::ReadTag(uint64_t addr) {
-#if defined(__aarch64__)
+#if defined(PTRACE_PEEKMTETAGS) || defined(PT_PEEKMTETAGS)
   char tag;
   iovec iov = {&tag, 1};
   if (ptrace(PTRACE_PEEKMTETAGS, pid_, reinterpret_cast<void*>(addr), &iov) != 0 ||