anv: Properly clamp attachment layer counts
Vulkan requires that the acutal layer count come from VkRenderingInfo::layerCount or VkFramebufferCreateInfo::layers rather than from the image view itself.
Vulkan requires that the acutal layer count come from VkRenderingInfo::layerCount or VkFramebufferCreateInfo::layers rather than from the image view itself.