Fix compiler warnings with CMAKE and TORQUE_DISABLE_MEMORY_MANAGER.

Fixed tons of TORQUE_DISABLE_MEMORY_MANAGER compiler warnings.
Definition are handled on torqueConfig.h