Convert BuildLibCalls.cpp to using the AttributeSet methods instead of AttributeWithIndex.