Absolute frequency metrology of buffer-gas-cooled molecular spectra at 1 kHz accuracy level