[v2 PATCH 05/10] d3d10/effect: Implement GetConstantBuffer().