lib/genalloc.c: add check gen_pool_dma_alloc() if dma pointer is not NULL