Do not unnecessarily recompile OpenVZ envId pattern

The pattern against which lines in /proc/self/status are matched is static and
therefore does not have to be (re-)compiled for every line in the file.
Merge pull request #13676 from basepi/cherrypick

Do not unnecessarily recompile OpenVZ envId pattern