Bug 1025143 - Fix a compilation error in TestTypedEnum.cpp with clang-cl; r=bjacob

This makes the code more correct since if we don't have constexpr
support in the compiler, the CastableTypedEnumResult type would
actually not be a literal type, so we should not assert that here.