fixup "run: check XML syntax of generated config files"

Perform XML syntax check using a dedicated function, which can be
overwritten by the run script to explicitly suppress the syntax check.
Disable config syntax check for tool-chain test