Switch-interpreter: Add helpers to get opcode arguments.
am: 436f6c1e53

Change-Id: I8fd00b9c867ffd043bb24f00da99470366ac3e63