[RFCv3 2/2] dma-buf: add helpers for sharing attacher constraints with dma-parms