[PATCH V4 18/31] x86/sgx: Support modifying SGX page type