ART: Fix GetAllStackTraces

Correctly select threads, skip starting threads. Amend test.

Bug: 31684812
Test: m ART_TEST_JIT=true test-art-host-run-test-911-get-stack-trace
Change-Id: Ieae6ba135ec7ec677615064ca020e10e14ec2cfe
3 files changed