CTFE: Pointer cast wrong-code bug

This was causing the test suite to fail on Win32 when using
CTFE to do const folding.
Merge pull request #2257 from donc/ctfePointerPaint

CTFE: Pointer cast wrong-code bug