AIM: add wrappers for __attribute__

We use all of these attributes and they're usually accompanied by "#ifdef
__GNUC__". Adding wrappers to AIM makes using them less painful.
Merge into master from pull request #25:
AIM: add wrappers for __attribute__ (https://github.com/floodlight/infra/pull/25)