Merge "Move thread state to art::Atomic."