doxygen: fix --with-libclang

Fixes #24752: doxygen failed to build on 10.9.