fix Issue 11554 - `is(T == enum);` produces an error if T is an enum defined with no members
Merge pull request #2889 from 9rnsr/fix11554

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