check if toolbar is active before enabling Zend_Db_Profiler

even if toolbar is disabled, currently Zend_Db_Profiler is getting enabled, which is especially bad for production and heavy DB operations such as re-indexing.