Use atomic increments for counters
Make debugging of global serial bumping easier

This gives us an option to see where the global serial is increased, to
find for example cases where this causes constant lookup caches to
invalidate.