Determination of dispersion induced relative intensity noise through spectral linewidth measurements