Second viscosity in transient cavitating pipe flows