gnutls: simplify certificate verification