Local backend: Add a way to write all of the device/channel attributes

Just like the "read attribute" commands, it is now possible to write all
the attributes of one device or channel in one command.

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