Improved carbon dioxide determinations in gaseous subsamples