PM / hibernate: Avoid overflow in hibernate_preallocate_memory()