PEM_X509_INFO_read_bio_ex(): Generalize to allow parsing any type of private key Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/14647)