Move gcc attribute macros to new header libavutil/attributes.h