crypto: ecc - Fix NULL pointer deref. on no default_rng