pan/midgard: Compiler fixes
This series contains an assortment of compiler fixes addressing regressions introduced over the course of the semester (yay classes ending means I can fix all the stuff I broke
Highlight is register spilling should be less unstable, though it still needs a lot more work to be "production" ready. In practice it fixes glamor and Neverball, provided thread local storage is sized larger (the patch for that isn't in this series since it's not compiler and still a hack -- but it's easier stuff thankfully).
Closes #2169 #2158 #2143 (closed)
(I.. think)