As you can see in the attached images, Gajah Mada doesn't try to stop me from winning a diplomatic victory, even though he is swimming in gold (92712 , 838 per turn). I'm currently allied with all the 16 city states, but he does nothing and lets me to win.
I've also attached the savegame.
I've also attached the savegame.