wined3d: Skip NULL textures rather than non-NULL ones, assign -1 to skipped stages.