[REG2.065a] Issue 11554 - `is(T == enum);` produces an error if T is an enum defined with no members

https://d.puremagic.com/issues/show_bug.cgi?id=11554

The issue was partially fixed in #2829, but was not enough.