hotfix(core) run shms check in early init phase

hotfix(core) run shms check in early init phase Some shms, and especially the `kong` one might be used inside of the global patches (or in any of the other modules we require for that is). This bug was caught on the CI environment with OpenResty 1.11.2.1, which calls `math.randomseed()` inside of its main chunk from the lua-resty-dns library, which triggers our custom `globalpatches.randomseed` behavior, which needs the `kong` shm.

АвторThibault Charbonnier
ΠšΠΎΠΌΠΌΠΈΡ‚Π΅Ρ€Thibault Charbonnier
8 Π»Π΅Ρ‚ Π½Π°Π·Π°Π΄
64f9fcd
Π ΠΎΠ΄ΠΈΡ‚Π΅Π»ΠΈ

Cherry-pick

Команда cherry-pick позволяСт Π²Ρ‹Π±Ρ€Π°Ρ‚ΡŒ ΠΎΡ‚Π΄Π΅Π»ΡŒΠ½Ρ‹Π΅ ΠΊΠΎΠΌΠΌΠΈΡ‚Ρ‹ ΠΈΠ· ΠΎΠ΄Π½ΠΎΠΉ Π²Π΅Ρ‚ΠΊΠΈ ΠΈ ΠΏΡ€ΠΈΠΌΠ΅Π½ΠΈΡ‚ΡŒ ΠΈΡ… ΠΊ Π΄Ρ€ΡƒΠ³ΠΎΠΉ.