tile PCI DMA: handle a NULL dev argument properly