[driver] Use the llvm equivalent of getcwd().  Hopefully, this makes the Windows
bots recover.
rdar://12237559