layers: Fix for clearing layouts and cmdbuffers.
layers: Fix for clearing layouts and cmdbuffers.

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