Use C++ thread_local rather than libcutils.

Test: treehugger
Change-Id: I11114b8e591e7ec034bac6420b1a0adda88e8af2
2 files changed