Do not use xcache variable cache if cache size is 0.

This is possible because it is possible to only use xcache as an opcode cache
but not a variable cache.