[Refactoring] Gather common code in rt.util.typeinfo
fix Issue 13052 - TypeInfo.getHash should return same hash for different floating point zeros.
Mask linux64 and OSX64