wined3d: Don't modify existing data if set_private_data fails.