A custom readout electronics for the BESIII CGEM detector