[kernel] MIPS: fix loading of modules with unresolved weak symbols