[PULL 22/32] crypto: reduce duplication in handling TLS priority strings