memcached: Be more forgiving on patching config.h

Some of the changes to config.h might not be needed, because the
host might not have some features. So ignore already-applied hunks
in the patch.

Signed-off-by: Nadav Har'El <nyh@cloudius-systems.com>