Replace pipe_format by gen_surface_format in ilo_image. Change how depth format is specified in ilo_state_zs.