X509V3_EXT_add_nconf_sk, X509v3_add_ext: fix errors handling