Comparison between quantum and semiclassical calculations of the electron impact broadening of the Li I resonance line