Add the function attributes from an inline asm call. These don't have declarations that set the attribute groups, so we must do it on our own.