mesa: remove unreachable code from _mesa_write_shader_to_file()