[PATCH 4/5] wined3d: Always use glFinish() when destroying a GL context.