Release DMABUFs when destroying the buffer.

Otherwise references to DMABUFs remained after the buffer is destroyed.