swrast: avoid large stack allocations in blend code