vkd3d-shader/ir: Record the control flow type in the program.
The general philosophy is that a struct vsir_program
should be entirely self-describing at any point during the transformation process. Technically that's already true for the control flow type, but the detection algorithm is not particularly pretty. Having an explicit flag looks more robust.