Replace BIO_printf with ASN1_STRING_print in GENERAL_NAME_print