[PATCH vkd3d v3 3/7] vkd3d-shader/hlsl: Introduce add_cast() helper.