[Git][ghc/ghc][wip/fix-link-node-errors] driver: Properly handle errors during LinkNode steps