Turn casting of T[] to integral types an error 

Casting t[] to integral types emit a deprecation error but is always
rejected by the backend (except on very few targets), so it will fail
even if -d is specified (at least for portable code). It is better to
make it just a plain error.