build: make DEBUG() macro optinal at compile time

Signed-off-by: Luka Perkov <luka.perkov@sartura.hr>