m4/pidfile.m4: Fix pidfile(3) API detection

Make sure our copy of FreeBSD's pidfile(3) code isn't used if the system
provides it.  The Autoconf test got this wrong when <bsd/libutil.h> was
found, but <libutil.h> was not.

The issue was reported by Michael Tautschnig in Debian bug #750401.