lib: initialize dbus errors properly

Fix dbus assertion error when enabling or disabling a technology.

Same style as in lib/interface.c.