build: build on systems with libpcap 1.4 and earlier
le: correctly dump data into PCAP PPI format

There were two issues with this code. First, the length of the dump was
incorrect as it did not include fields not accounted for in LE LL
length. Second, the code skipped dumping the PPI header.