Simplified OIIO's texture cache related code. Use a shared cache.
Fixed bug in last commit.
Fixed missing #ifdef OSL.
Merge pull request #474 from est77/est_shared_oiio_texcache

Simplified OIIO texture cache related code