Re-instate _ATTRIBUTE() usages.

These were broken because the definition of _ATTRIBUTE() from
libcxx was different, so change the libc definition and usage
to match.

Fixes issue #992.
Merge pull request #993 from waywardmonkeys/reinstate-attributes

Re-instate _ATTRIBUTE() usages.