Move reg(i32) functions to vm_state implementation.
Allow negative register offsets to be stack elements relative to esp.

Also bounds-check register/stack offsets for this.
Typo in vm_instructions.h -- litflag{t,g}

Caused asm2bc to not automatically generate litflags for peek.