submodule: fix prototype of gitmodules_config