move errno_candidate_each into util.c.
use const for internal_errno_to_name and num_errno.
move constant_name2int into util.c.
move constant_search_names into util.c.