Cleanup InlineMalloc and fix LLVM 3.6 compatability issues.
Fix simple compile errors in old JIT.