Mass-resolved laser ionization spectroscopy of HCl