BUG/MAJOR: patterns: -i and -n are ignored for inlined patterns

These flags are only passed to pattern_read_from_file() which
loads the patterns from a file. The functions used to parse the
patterns from the current line do not provide the means to pass
the pattern flags so they're lost.

This issue was introduced in dev23 with the major pattern rework,
and was reported by Graham Morley. No backport is needed.
diff --git a/src/dumpstats.c b/src/dumpstats.c
index 5f28e1c..7cf4d84 100644
--- a/src/dumpstats.c
+++ b/src/dumpstats.c
@@ -2055,9 +2055,9 @@
 			/* Add value. */
 			err = NULL;
 			if (appctx->ctx.map.display_flags == PAT_REF_MAP)
-				ret = pat_ref_add(appctx->ctx.map.ref, args[3], args[4], &err);
+				ret = pat_ref_add(appctx->ctx.map.ref, args[3], args[4], 0, &err);
 			else
-				ret = pat_ref_add(appctx->ctx.map.ref, args[3], NULL, &err);
+				ret = pat_ref_add(appctx->ctx.map.ref, args[3], NULL, 0, &err);
 			if (!ret) {
 				if (err)
 					memprintf(&err, "%s.\n", err);