Use erl_drv_output_term with driver API 2.1 or later
Silence OS X OpenSSL deprecation warnings
Fixed for erl 17.