lang/ldc: Fix build LLVM > 19
PR: 298648 Reported by: Gerard Seibert <gerard_seibert __at_ outlook.com>