MIPS: Fix loading of modules with unresolved weak symbols