net: pktgen: fix null ptr deref in skb allocation