Clear DMA buffer after allocatiion and add missing include
Credits: powARman and Soeren Moch