Replace AttributeWithIndex for LLVM 3.3.

The helper class AttribteWithIndex is gone in LLVM 3.3. Instead a
combination of AttrBuilder and AttributeSet must be used.