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 #13537 from babilen/issues/#11877

Performance enhancement for Issues/#11877