layers: Migrate INVALID_IMAGE_LAYOUT check to renderpass create time
layers: Migrate INVALID_IMAGE_LAYOUT check to renderpass create time

Previously performing this check at CmdBeginRenderPass time, but we have
all of the data needed when renderpass is created so check there instead.

Radamanthe/VulkanSamples,Radamanthe/VulkanSamples,critsec/Vulkan-LoaderAndValidationLayers,critsec/Vulkan-LoaderAndValidationLayers,elongbug/Vulkan-LoaderAndValidationLayers,elongbug/Vulkan-LoaderAndValidationLayers,KhronosGroup/Vulkan-LoaderAndValidationLayers,elongbug/Vulkan-LoaderAndValidationLayers,critsec/Vulkan-LoaderAndValidationLayers,Radamanthe/VulkanSamples,elongbug/Vulkan-LoaderAndValidationLayers,Radamanthe/VulkanSamples,KhronosGroup/Vulkan-LoaderAndValidationLayers,Radamanthe/VulkanSamples,KhronosGroup/Vulkan-LoaderAndValidationLayers,Radamanthe/VulkanSamples,critsec/Vulkan-LoaderAndValidationLayers,KhronosGroup/Vulkan-LoaderAndValidationLayers