Implement a very basic stencil upload.

This is not fast or efficient, but works.
Fix exit replacement hooks.
Fix Star Ocean movement problems due to memcpy.

It needs to handle overlap correctly, ugh.
Hook Star Ocean's function to upload stencil data.

Hurray, it seems to work properly.
Add support for 4444/5551/8888 stencil upload.