ARB_gl_spirv: check for not-used NIR optimizations
Right now there are several NIR lowerings and optimizations, but as a rule of simplicity, we were just calling those that were needed to get all the tests passing. But it is likely that there are some of them that could be called, in order to improve the generated NIR shader.