Fix reference to out of scope local in adb_thread_setname. am: 0617eb7d83
am: e7e441157e

Change-Id: I3f3dbc2077a165bced783d3c63b8b7e64b2e69a7