squash! i965/gs(gen7): Allocate URB space for use by geometry shader.

Better algorithm

TODO: verify that the squashed patch looks sane.