configure: Fix argument order for probing libpcap.

Fix configure script, which would incorrectly pass -lpcap to gcc
BEFORE the source file, causing problems detecting libpcap features
under some circumstances.