If the record allocation code can race with other threads, we can't
just increment the total number of records when a record-allocating
cursor returns from the WiredTiger library, we have to do it one
record at a time.