Support LLVM 3.5.

LLVM 3.5 adds a new required component lto.
Fix for issue #553.

Check if a static array is accessed with a known index. In this case the
bounds check can be omitted.