[PATCH 4/6] d3dcompiler: Implement d3d10 GetConstantBufferByIndex().