CLEANUP: pattern: Ignore unknown samples in pat_match_ip().

Ignore samples that are neither SMP_T_IPV4 nor SMP_T_IPV6 instead of
matching with an uninitialized value in this case.

This situation should not occur in the current codebase but triggers
warnings in static code analysis tools.

Found in haproxy 1.5.
(cherry picked from commit f0653192e31d3baa95ead5501b5cda467ab15b6d)
(cherry picked from commit f999c4eeca43524fc25e509142961a1fb06eaecd)
1 file changed