An asymptotic formula relating the Siegel zero and the class number of quadratic fields