Use BigInteger.isBigInteger()

The `deterministicGenerateK()` function relied on an `instanceof` check to verify that a provided argument is an `BigInteger` instance, which doesn't work well when there are multiple `bigi` installations in use.

Also see https://github.com/cryptocoinjs/bigi/pull/12. This should only be merged after a new release of bigi with that change is released.