DRI2: Move DebugMsg macro to a common header

Signed-off-by: Siarhei Siamashka <siarhei.siamashka@gmail.com>