Wrap LDC specific code in #if IN_LLVM blocks.

Only for ForeachStatement as I have to investigate the code here.