Make ldmd compatible with LLVM 3.4

Development of LLVM 3.4 started with a cleanup of the path class (PathV1).
The changes here let ldmd compile at least with rev. 184039 of LLVM.
Merge pull request #400 from redstar/ldmd34

Make ldmd compatible with LLVM 3.4