Add missing void in named_config_getdefault() definition

The named_config_getdefault() was missing void in the function
definition.  This broke clang-15 that didn't match the declaration that
had the void in the argument with the definition that hadn't.
65 jobs for !6260 with ondrej-add-missing-void-in-named_config_default-v9_18 in 1 minute and 46 seconds (queued for 14 seconds)
latest merge request