Cast i2d_ASN1_HEADER to fix #29