gallivm/gs_iface: pass stream into end primitive interface.