take attribute arguments into account
Coccinelle complains about unused metavariables. Adjust the analysis to take into account metavariables used in attribute arguments.
Motivated by a semantic patch found in
https://github.com/coccinelle/coccinelle/issues/363#issuecomment-2016836755