mesa: move last bits of GLchan stuff into swrast