Fix lld build for llvm API changes committed in r213557