vkd3d-shader/hlsl: Store SM4 semantic declarations in the vsir program.
Currently, there is a bug where some semantic declarations are missing in the control point phase in hull shaders, because the liveness information of variables are overwritten when processing the VSIR program of the patch constant function. This bug can be resolved by moving the semantic declarations to the respective vsir programs.
Edited by Shaun Ren