Fix the protection of code cache for x86 JIT

During generation of code into code cache
an unprotected region of memory does not correspond to
protected one, The patch fixes that.

Author: Katkov Serguei <serguei.i.katkov@intel.com>

(cherry picked from commit 74a62214ef262380371bc21be2a1c42295046fb2)

Change-Id: I362a10897564b987c8a3b2dfc9ded8f0a9efd56a
2 files changed