[PATCH OLK-6.6 345/717] perf record: Move setting tracking events before record__init_thread_masks()