[PATCH v7 11/26] x86/insn-eval: Add utility function to get segment descriptor