A Novel Technique for the Measurement of the Avalanche Fluctuation of a GEM Stack Using a Gating Foil