pcapng save format: snprintf() error to proper buffer

In fail label we're freeing pcap_t structure, so don't use p->errbuf,
but passed argument buffer.