Add common routines for command-line libwiretap error reporting.