Reafctored public key check from libtasn_read_cert_pk_parameters() into its own function libtasn_cert_pk_oid(). The make use of it instead of gnutls_x509_crt_get_pk_oid().
Also add support older (< 3.5.0) GnuTLS versions