nv50/ir/nir: fix smem size for GL
Originally I fixed the case where the nir itself has a shared mem size of 0, but the frontend (e.g. clover) set it to some other value. But st/mesa sets the shared mem size on the state object as well and we end up actually doubling the value in the driver as we set smemSize to the value from the state object before calling into the compiler. So just max the value instead. Fixes the compute_shader.shared-max CTS test. Fixes: dc667b1f ("nv50/ir/nir: fix smem size") Signed-off-by:Karol Herbst <kherbst@redhat.com> Part-of: <!11047>