Implement JIT support for global aliases, patch by David Chisnall!