GROOVY-6435: include instance check for BigInteger to ensure assignment to BigInteger is pssible for subclasses
GROOVY-6431: ensure BigInteger subclasses can be used properly