nir/lower_system_values: Fix cs_local_index_to_id with variable workgroups
In that case we need to use the sysval. That sysval can be optimized anyway in the nonvariable case. Fixes test_basic.get_linear_ids on panfrost.
Unsure if this warrants a fixes tag.