Vitaliy Margolen : wined3d: Properly destroy texture object if we failed to create its surfaces.