Fix codegen for GLSL casts.

Codegen_C generally expects "id" to be a variable name; the previous code just
happened to work in a number of simple cases.