Issue 11819 - Implement better diagnostics for unrecognized traits.

https://issues.dlang.org/show_bug.cgi?id=11819

I wish I could avoid duplicating the list of traits with the ones in the `msgtable` in idgen.c, and that I could avoid hardcoding `39` but I want to keep DDMD compatibility.

But any improvement tips are always welcome!