layers: Move OT validation calls inside mutex
layers: Move OT validation calls inside mutex

ObjectTracker generated validation code was being added outside the
mutex-protected area compromising thread-safety.

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