vulkan/runtime: match the spec when taking pipeline subsets.
Found when fixing dEQP-VK.pipeline.pipeline_library.graphics_library.* tests.
You can see the patch here for those tests: https://gerrit.khronos.org/c/vk-gl-cts/+/11052
Some of the tests got crashed on llvmpipe, radv with the patch.