Fix segfault on encoding a bignum