Add a new SBThread::GetQueue() method to get the queue that is
currently associated with a given thread, on relevant targets.

Change the queue detection code to verify that the queues
associated with all live threads are included in the list.
<rdar://problem/16411314>