Characterization of the 8-channel single-photon counting front-end chip for the upgrade of the LHCb RICH detectors