Move pcre_compile closer to pcre_exec
Move pcre_compile closer to pcre_exec

This will move the code that compiles the regex close to the place that
executes the regex. That means all regex related code moves to a single
place. It's easier to correctly free the regex right after its usage.

OpenSCAP/openscap,OpenSCAP/openscap,OpenSCAP/openscap,OpenSCAP/openscap,OpenSCAP/openscap,OpenSCAP/openscap