fix Issue 13200 - Assertion `protName' failed

Set `parent`, `protection`, `isdeprecated`, and `userAttribDecl` members of `EnumDeclaration` as same as class and struct declarations, even if its definition is opaque.
Merge pull request #4179 from 9rnsr/fix13200

Issue 13200 - Assertion `protName' failed