We need to restore unallocated_objects if objcache alloc fails.