Fix for #433

The fix seems to be correct. It doesn't bring any regressions with "--target=generic-4" in my testing.

The problematic call also seems to be useless, as it removes garbage collection metadata (do we really have GC?) *after* the code is written out, so it doesn't affect the output. This may be for correct resource deallocation, but according to discussion in LLVMdev list it's not needed anymore.