d3d9: Properly retrieve an interface pointer in d3d9_texture_2d_LockRect().