move global variable accessor/mutator definitions to vm.c
move irep dump function definitions to irep.h
pic_state is not used in pic_dump_*