use TD_AGENT_ARGS/DAEMON_ARGS when executing configtest

Maybe `$DAEMON_ARGS` is needed like `cmd="$cmd $DAEMON_ARGS --dry-run -q"`.
I'm not sure why TD_AGENT_ARGS and DAEMON_ARGS are separated...