An Analysis of Quadrature Errors in Second-Kind Boundary Integral Methods