Study on the All-Optical Gain Control Method in Remotely Pumped EDFA Systems