layers: Check that queryFlags is valid if enabled.
layers: Check that queryFlags is valid if enabled.

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