log: remove race in eblob_dump_id_len()