Constify some conf_mod.c internal methods