!UPSTREAM: i965/vs: generalize binding table upload in preparation for GS.

TODO:
- Move prior to "Support UBOs by generating surface state and binding tab"
fixup! !UPSTREAM: i965/gs: Support UBOs by generating surface state and binding tables.