Remove the curve parameter from OpenSSL EC keys

This parameter serves no purpose. Might as well just let the key objects handle getting the data out of the ec_cdata.