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