(Glide64) Refactor gSPModifyVertex so that it is spec-conformant