fix debug macros

- use ((void)0) to null macro instead of empty macro

- don't end macro definitions with ; use it explicitly when using macro
don't define tmp when DISABLE_DEBUG defined
Merge pull request #17 from WinterMute/fix-debug-macros

Fix debug macros