layers: Validate number of layers in subresource.
layers: Validate number of layers in subresource.

Reviewed by Tobin.

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