Fix compiler warnings with CMAKE and TORQUE_DISABLE_MEMORY_MANAGER.

Fixed tons of TORQUE_DISABLE_MEMORY_MANAGER compiler warnings.
As Cmake options can change, we need to allways update ```torqueConfig.h``` too.