(Glitch64) Refactor grLfbWriteRegion