Fix compile for PC CGC.

These changes were necessary to make it compile on CGC on PC.

Problems:
   - Cannot use TEXCOORD8 and up. (Max 8 texture streams on legacy GL?)
   - Cannot use variables to initialize other static variables, even if
     they're also const/static.