Add a missing error handling to llvm-lto.