Effects of Weak Gravitational Lensing from Large-Scale Structure on the Determination of q0