Fix using assembler addresses for global variables

Format of assembler address strings are different
with newer LLVM version (They don't have a prefix anymore).

This fix takes care of newer LLVM versions (>=3.3) as well.
Fix timer leak
Free used constants if not used anymore

Fixes memleak
Fix unitialized value
Close file descriptors used for warnings and messages
Deprecate LLVM 2.8 and lower
Remove stoppoint references