wined3d: Simplify shader_glsl_destroy() control flow a bit.