condformats_serialization_generate.py: fix libClang ussage

libClang is being used incorrectly. libClang does not understand what
language you are attemping to compile, it assumes C/ObjC as default.

This comes from headers.h name. Clang relies on correct extension to
select a language, but it cannot be done with header file. Same
extension is used for ObjC/C/C++.

The first argument must not be none, but a patch to header file.
An additional option must be passed '-xc++' to tell Clang that
it will be C++.

If the header file is passed as argument to libClang then the order of
arguments is important! Otherwise libClang will ignore flags like -xc++,
and go for the default.

This behaviors are documented in Clang source code.

Because of this on Darwin C++ exception handling is disabled, there is
not need for in C front-end. Simply put you loose all default C++
language options.

This resolves majority of ERROR: messages from
condformats_serialization_generate.py

A few a left, but are the same as in CLANG IBs. More people should join
the effort to clean it up.

Signed-off-by: David Abdurachmanov <David.Abdurachmanov@cern.ch>
Merge pull request #5657 from davidlt/fix-condformats_serialization_generate.py

CondFormats/Serialization -- condformats_serialization_generate.py: fix libClang ussage