macro: clean up usage of gcc attributes

Signed-off-by: Anthony G. Basile <blueness@gentoo.org>