Fix for function declarations which have macroized exception specifications.
Fixes #8812.

[SVN r86530]