[PATCH v8 2/2] vkd3d-shader/hlsl: Avoid infinite loop and invalid derefs in copy-prop.