isprime: support 128-bit integers via either demontion or promotion.