Supplement fix for issue 6930 - Tweak std.traits for inout + const qualifier

https://d.puremagic.com/issues/show_bug.cgi?id=6930

Required by the compiler fix: https://github.com/D-Programming-Language/dmd/pull/2992