glsl,nir: Switch the enum representing shader image formats to PIPE_FORMAT.