packed_data: fix memcpy code in Resize
packed_data: fix memcpy code in Resize

Don't copy more than the previous allocation's size.

(packed_data::Resize is unused at the moment, but might be used in the future.)

fmidev/himan,fmidev/himan,fmidev/himan