Improve performance of PcapHandle#getStats().