[v5 05/20] x86/insn-eval: Add utility functions to get register offsets