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.