wined3d: Move D3DSIO_M#x# vertex shader opcodes to a more standard function.