doxygen: fix --with-libclang

Fixes #24752: doxygen failed to build on 10.9.

Closes #24986.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>