Fixes the way Helios gets parent globals.

May fail if every code is new-style and no-one actually loads
the deprecated amber_vm/globals.
Merge pull request #1007 from herby/fix-helios-globals

Fixes the way Helios gets parent globals.