Riccardo Bortolato : d3d9: Replace wined3d surface refcounting with texture refcounting.