upower: update for libupower glib API changes