On computing quadrature-based bounds for the A-norm of the error in conjugate gradients