(Glide64) Avoid malloc/free for CopyFrameBuffer