util/ck_errf.pl: add functionality that brings it closer to util/mkerr.pl