configure.ac: switch to pcap-config and pkg-config for libpng