Refactor: libcrmcommon: Only set gnutls priorities when needed.
If we're not setting up a TLS connection that uses anon credentials,
don't add the anon priority. Similarly, only add the PSK priorities if
we're setting up a TLS connection that uses PSK credentials.