Unify lower- and upper-axis triangle shading code.
Add 8-ushort simd type.

This will support vectorising the triangle shader. It would be nice if SSE3 had
a similar instruction for 4-uint, but no such instruction exists, even in later
SSE versions.

Also, inline assembly. Yay.