vkd3d-shader: Introduce helpers to access instruction arrays.
Right now we assume that instruction arrays are indeed regular arrays. However arrays are not ideal for doing a number of operations, including for example insertion at a random place, and we're starting to do that quite often. By adding an abstraciton level on how we access instruction arrays we eventually will be able to replace the array with another, better suited data structure.