Design and test of current-mode DACs for threshold tuning of front-end channels for the High Luminosity LHC