tool_getparam.h: Fixed compilation warning

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