layers: Add thread ID to API dump messages
layers: Add thread ID to API dump messages

Initial code from Jon and I added indexing so TID stays in 0-512 range and will be the same on consecutive runs with a single thread.

KhronosGroup/Vulkan-Tools,KhronosGroup/Vulkan-Tools,KhronosGroup/Vulkan-Tools,KhronosGroup/Vulkan-Tools