Displaylist rewrite partial changes

This is just @Orphis' code, but only some of it.  Barely any actual functionality changes, mostly hoisting, but it decreases the distance from the dlist-rewrite (although, it'll probably cause conflicts.)

All my games seem fine with these (minimal) changes, which ultimately amount to for games:
 * Moving the stack to per-list and increasing its size.
 * Returning errors if wrong parameters are passed to some sceGe() funcs.

-[Unknown]