Move toElem/toConstElem to visitors
Building the rt.util.container.array tests triggers a bug in the jump threading pass on every LLVM release before 3.4.

rt.util.container was split into multiple modules and the cause of the issue were moved to different file
Try to work around issues 672