dbus: Fix build without os_free available as a pointer