Updated SSIfy to work in LLVM 3.5

Changed some pass-by-value parameters to pass-by-const-reference. Also,
changed all methods to const whenever applicable.