wined3d: Separate a vk_memory_type_from_access_flags() helper.