bb#11112 - fixed custom pass initialization when using LLVM 2.9