configure: add dma-buf support detection.