gallivm: simplify geometry shader mask handling a bit