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.
Since this method is only used in ec.py now would it make sense to pull it out as a function and have it take backend as an arg (similar to the way `_truncate_digest_for_ecdsa` works now)?