Two improvements to FunctionMover

- Don't crash on Functions that don't have a name set
- Ask MCJIT for GlobalVariables, not the memory manager