tools/pktdumper: update to recent avformat api