Allow the tex buffers to grow if necessary.

Only does the 16 bit one for now.

Tactics Ogre uses a texture that is 1024x1024.  Ouch.
Use AllocateMemoryPages() for the texcache buffers.
Merge pull request #1235 from unknownbrackets/texcache

Allocate the temp texcache buffers dynamically