nir: support derefs in two-sided lighting lowering