nir/lower_system_values: Use the new generic NIR lowering helpers