Add a few optimizations for the small object allocator.