debug.hpp: remove unnecessary #includes
replaced debug_* macros from debug.hpp with CHECK* macros from logging.hpp