The role of nucleation in the initial phases of a rapid depressurization of a subcooled liquid