demmt/nouveau: handle no_prefetch flag
demmt: fix naming of printing macros and move common parts to log.h