pdump: fix packet snapshot length initialization