Add tracing of get- and set-global instructions