Give the internal match function some const/restrict hints.

.gitlab-ci.yml not found in this commit