Add kernel data type defines to demos

This hack enables the kernel data types to be used without having to included
the standard kernel headers.  As of writing the "dma_cookie_t" is defined in
the kernel header <linux/dmaengine.h>.
Make output of demos easier to interpret