stats: fix data race when update leader uptime

Ah, now I see what you mean. Yeah, this stuff doesn't map so cleanly from the old world.