Support gnu_inline attribute

Fixes bug where this attribute would be attached to function return
types instead of the whole decl, provoking compiler warnings.