[PATCH vkd3d 04/17] vkd3d-shader/hlsl: Introduce function to clean up hlsl_derefs.