Viscous corrections to the resistance of nanojunctions: A dispersion relation approach