Resize the tex buffers to the larger of w/bufw.

Since it's rearranging, it needs the larger, and it might be in place too.
Merge pull request #1580 from unknownbrackets/texcache

Resize the tex buffers to the larger of w/bufw