Fix error when configured with --with-http=no --with-valid
If LIBXML_VALID_ENABLED is defined and LIBXML_HTML_ENABLED is undefined, it will cause errors in xmllint.c because int html and int xmlout are undeclared. This partially reverts commit 3665d667.