[WebIDL] Remove some unnecessary specialization for enum types