(Glide64) Refactor common code in ucode files to gSPSetOtherMode