Re-code the saving of the gp register for MIPS64 so it compiles under
recent versions of gcc.