Revert "Revert "Fix mips build""

This reverts commit 4402804c35c5c5992c728c6f3cee3bdbd325819e.
diff --git a/linker/linker.cpp b/linker/linker.cpp
index e6fc9ec..f14d8b4 100644
--- a/linker/linker.cpp
+++ b/linker/linker.cpp
@@ -2281,7 +2281,7 @@
 #endif
 
 #if defined(__mips__)
-  if (!mips_relocate_got(this)) {
+  if (!mips_relocate_got(this, local_group)) {
     return false;
   }
 #endif