[PATCH vkd3d v4 5/9] vkd3d-shader/hlsl: Introduce add_cast() helper.