wined3d: Make sure we have an active GL context before calling surface_remove_pbo().