etnaviv: reduce shader variant handling CPU overhead
The shader key is quite a fat structure and we were very sloppy in keeping the associated CPU overhead at bay. Those two commits improve performance in a real world draw call limited application by ~8%.