Calibration of the RPC charge readout in the ARGO-YBJ experiment