filter-in-list: Fix a compilation error on FreeBSD

Do #include <string.h> for memcmp(), strcmp() and strlen(), since we're
using those functions directly.

Reported-by: Peter Czanik <czanik@balabit.hu>
Signed-off-by: Gergely Nagy <algernon@balabit.hu>