Remove stack-allocated BIGNUM which is no longer allowed in OpenSSL 1.1.