Fixes Issue 9523 - Regression: Enum to Enum conversion should work in std.conv.
Merge pull request #1143 from AndrejMitrovic/Fix9523

Regression: Issue 9523 - Enum to Enum conversion should work in std.conv.to