'Herbs::Containers::ArrayDynamic': Check overflow when reallocating memory