Lint stability now checks macro arguments.

Closes #17185.
Update some deprecated calls in macros arguments.