fix Issue 10583 - DMD 2.063 dumps core with mixins involving __traits(getProtection)
fix Issue 10628 - spurious "hidden by" deprecation warning
Merge pull request #2362 from 9rnsr/fix10583

Issue 10583 - DMD 2.063 dumps core with mixins involving __traits(getProtection)