gallium/util: add functions for manipulating swizzles

Some of those have been in drivers already.
7 files changed