wined3d: Avoid comparing shader compile args if the relevant shader isn't present.