[coreboot-gerrit] Change in coreboot[master]: intel/common/block/sgx: Refactor SGX common code