lib.pcap.lua: copies read string into struct instead of hoping it will stay long enoug...

...h to use a cast pointer