Explicitly check for empty ASN.1 strings in d2i_ECPrivateKey