gcr: Fix criticals if a CN is null
Both the issuer CN and the subject CN can be NULL, so make sure we deal with this case. This fixes a few CRITICALs when loading a certificate that has this.
Both the issuer CN and the subject CN can be NULL, so make sure we deal with this case. This fixes a few CRITICALs when loading a certificate that has this.