This is an initial take at enabling the use of C++11 attributes in GenerateExportHeader.
GenerateExportHeader
Fixes: #22908 Issue: #20527