Issue 13200 - Assertion `protName' failed

https://issues.dlang.org/show_bug.cgi?id=13200

Set `parent`, `protection`, `isdeprecated`, and `userAttribDecl` members of `EnumDeclaration` as same as class and struct declarations, even if its definition is opaque.