Change NoCapture attribute addition to apply to first parameter, not
return value of call.

Remove slightly unreliable #ifdefs which adapt to change in llvm API
for adding attributes to instructions.
Remove tab based indents for consistency.