d3d10: Implement GetConstantBufferByIndex.