[PATCH vkd3d 06/11] vkd3d-shader/hlsl: Abort on inconsistent types in write_sm4_cast().