[REG2.064a] Issue 10687 - Refused cast from uint[] to array of uint-based enums at compile-time

http://d.puremagic.com/issues/show_bug.cgi?id=10687

Fixup of `isSafePointerCast` in `ctfeexpr.c`.
@donc, could you please review this?