p11_child(openssl): add support for EC keys
Add support for EC keys to the OpenSSL version of p11_child. Please see
comments in the code for some technical details.
Related to https://pagure.io/SSSD/sssd/issue/3887
Reviewed-by: Jakub Hrozek <jhrozek@redhat.com>