Fix compiler warnings with CMAKE and TORQUE_DISABLE_MEMORY_MANAGER.

Fixed tons of TORQUE_DISABLE_MEMORY_MANAGER compiler warnings.
```torqueConfig.h``` has defines based on CMake options. As CMake options can change we need to update file too.