vkd3d: Move vkd3d_vk_descriptor_set_index_from_vk_descriptor_type() to resource.c. It's only used there.
vkd3d/resource: Write null descriptors with their correct type when using mutable descriptor types. This fixes crashes in test_null_srv() and test_null_uav() with llvmpipe and NVIDIA GPUs.