[DDMD] Change traits table back to using a sentinel value

Because in DDMD the table is actually a `const(char)**`, so the length information is gone.
Looks bad :(
At least use `ntraits = 40; assert(traits[ntraits] == NULL);`, so that when a new value is added, the missing length update is spotted right away.