glsl: Remove ir_function.cpp:type_compare()