use TD_AGENT_ARGS/DAEMON_ARGS when executing configtest

Is it ok to have `--daemon` option when you run configtest with `--dry-run`?