d3d9: Return D3D_OK from UnlockRect() for not locked textures.