conditionally use rd_kafka_conf_set_log_cb, fixes #686