redo memory pinning

Fixed pinning of govalues. Moved globals related to memory pinning. Implemented gotoken -> ctoken for
TT_NONE.