sockfilt.c: fix some compiler warnings