tool_metalink.h: Fixed compilation warning

warning: declaration of 'struct GlobalConfig' will not be visible
outside of this function