Ensure GetThreadState works with Thread subtypes

We were incorrectly assuming that Thread has no subclasses. This is
not accurate.

Bug: 66704836
Test: ./test.py --host -j50
Change-Id: I4abd85b6c4e6add6d62854adb4f8912777292315
3 files changed