Fix Issue 10682 - [ICE](cgcod.c line 1561) with ^^ operator

The backend can't handle a shift expression with a ulong rhs, so simulate the cast that is usually added by semantic.
Fixes Issue 10990 - getUnitTest trait does not work with module import.
Fix bug 9364 [ICE] Error: CTFE internal error painting S*

SymOffExp(v) needs to create a CTFE pointer &v (instead of doing
an invalid type painting operation).
Merge pull request #2528 from yebblies/issue10682

Fix Issue 10682 - [ICE](cgcod.c line 1561) with ^^ operator
Merge pull request #2546 from donc/pointerice9364ctfe

9364 CTFE internal error painting struct
Merge pull request #2534 from AndrejMitrovic/Fix10990_2

Issue 10990 - getUnitTest trait does not work with a module import.