[PATCH 5/6] d3d11: Make d3d10 *GetConstantBuffers use a helper method.