[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 regression was caused by #2795.