nss: Use 'CURLcode result' for curl result codes

...and don't use CURLE_OK in failure/success comparisons.
nss: Don't ignore Curl_ssl_init_certinfo() OOM failure
nss: Don't ignore Curl_extract_certinfo() OOM failure