Provide identical BN_GENCB_new shim
Instead of trying to optimize by using a stack local variable with additional #ifdef logic, use identical implementations of the upstream functions to reduce #ifdef clutter.
Move the definitions from dst_openssl.h to openssl_shim.h where rest of the shim is.
Closes #3785 (closed)