Fix for #20408 - CMake LLVM_ENABLE_FFI=ON build fails on reconfigure