sgx: revert this commit for less then v3.13

Signed-off-by: Robert Nelson <robertcnelson@gmail.com>