Reads from debug_log_cnt currently use a WT_ORDERED_READ to ensure correct operation, but we may be able to simplify this to a WT_READ_ONCE (to be added in WT-11285).
This ticket will review the relation between debug_log_cnt and debug_ckpt_cnt, If the two variables have no dependence then this ticket can be closed as Won't Do and WT-11285 will change the read from debug_log_cnt to a READ_ONCE.
If the two variables are related then we may change this logic to use a mutex instead of read barriers.