[libclang] CMake: add an option to control building libclang as a static library (off by default)

This avoids building libclang twice by default.