Fix CP#34770: dict lookup of System.Int64 and long is not the same

When hashing BigInteger, if it's in the range of Int64/UInt64, use that
hash function instead.

Fixes #168.
Fix CP#35155: random.Random(None) -> SystemError