Effect of dissolved gas on bubble nucleation