Local backend: Don't re-enable buffer after closing device in DDS mode

This caused a hang in the kernel.

Signed-off-by: Paul Cercueil <paul.cercueil@analog.com>
bindings/csharp: Fix detection of C functions returning NULL

Signed-off-by: Paul Cercueil <paul.cercueil@analog.com>