[PATCH V5 15/31] x86/sgx: Support restricting of enclave page permissions