openssl: Make some utilities take const BIGNUM pointers