Fixes Issue 11735 - pragma(msg) doesn't work with wchar/dchar strings.

https://d.puremagic.com/issues/show_bug.cgi?id=11735

https://github.com/D-Programming-Language/dmd/pull/2959 was incomplete because we have both a `PragmaDeclaration` and a `PragmaStatement`.