[PATCH v2 11/17] perf tools: Move thread to traceid_queue