gallium/util: add planar format layouts and helpers