Merge pull request #4738 from EmptyChaos/pe-stackcheck-fix PatchEngine: Fix potential crashing during stack probe