Make the Android TSD workaround more reliable.

By scanning the thread list backwards.

llvm-svn: 148476
1 file changed