Refs #7754. More suppression of dll export symbols.

I think these are things that cppcheck should be handling correctly, but it
isn't. I see that there are other places in the code where it is having a
similar issue, so this code isn't alone.