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.
Merge pull request #410 from halide/glsl_fix_casts

Fix codegen for GLSL casts.