[v6 PATCH 05/21] x86/insn-eval: Add utility functions to get register offsets