Implement global variable access.

The tests do not check the global value access has been JITted
(would need an opgrep pattern to check gvsv ops with an add parent).