wined3d: Avoid indexing a 2-element array by shader type.
This works for sm1 shaders, which can only be pixel or vertex, but this is a bit
fragile and relies on the fact that PIXEL and VERTEX are the first two enum
elements. Make the code a bit clearer and less fragile.