Make ldc compatible with LLVM 3.4

Development of LLVM 3.4 started with a cleanup of the path class (PathV1).
The changes here let ldc compile at least with rev. 183941 of LLVM.

I think that it is possible to minimize the differences further but I like to wait until the dust is settled.