Fix issue 6893.
Allow narrowing conversions of enum -> integral (int, short, etc.).

It will just throw at runtime if the value of the enum is too large.
Add unittest for narrowing enum -> integral conversions.