[PATCH] wined3d: Avoid accessing freed memory in wined3d_view_gl_destroy() (Valgrind).