[Git][wine/vkd3d][master] vkd3d-shader/hlsl: Avoid member access on NULL resource load (ubsan).