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