nir: Support deref instructions in gather_info