Fixed all compiler warnings.

glsl-optimizer compiles without warnings with both GCC and MSVC (I'm testing with VS2008), for 32-bit and 64-bit targets.