Check ASN1_TYPE structure type is a SEQUENCE in PKCS7_get_smimecap().