sgx: add export cache patch

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