[mate-base/mate-session-manager] make possible to disable upower support

Upower 0.99.x support is broken.