(Glide64) Simplify grLfbWriteRegion and render_rectangle