Effects of Gate-Pulse Shape on the Accuracy of Charge-Pumping Measurement