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

Change-Id: I67053afe3fe9203641ce856dae3449367e422841