Compiler: add support for dynamically loading cmo files

This changes make the SETGLOBAL bytecode instruction also work for new globals.

Hopefully, this is enough to allow dynamically loading cmo files from the toplevel...