d3d8: Properly retrieve an interface pointer in d3d8_texture_2d_LockRect().