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.
Merge pull request #279 from redstar/attr

Replace AttributeWithIndex for LLVM 3.3.