BUILD: pattern: include errno.h

Commit 3c79d4bdc introduced the use of errno in pattern.c without
including errno.h.
If we build haproxy without any option errno is not defined and the
build fails.

(cherry picked from commit b8bd6d7efd6db5d964eae902e8f3c09a757b12a9)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>

[Cf: I miissed this one during my last backports]

(cherry picked from commit fb815462c6720c63d45e8fc09c35c49de6160888)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>

[Cf: No need to backport it to 1.9, already fixed by hand during backports]
diff --git a/src/pattern.c b/src/pattern.c
index 33e0e17..90067cd 100644
--- a/src/pattern.c
+++ b/src/pattern.c
@@ -12,6 +12,7 @@
 
 #include <ctype.h>
 #include <stdio.h>
+#include <errno.h>
 
 #include <common/config.h>
 #include <common/standard.h>