[GWP-ASan] Abstract the thread local variables access am: 13dc0c1268

Original change: https://android-review.googlesource.com/c/platform/external/gwp_asan/+/1506410

Change-Id: Iefb1ced51d877139ae7eb4e92d0a2d4a5dfa5d30