Issue 10018 - Add VRP support for const/immutable variables

https://issues.dlang.org/show_bug.cgi?id=10018
This line makes a warning in Win32: `cast.c(3420) : Warning 2: possible unintended assignment`

Rewrite to: `(ie = vd->getConstInitializer()) != NULL`