tracker-power-upower: Support both UPower 1.0 and pre-1.0 APIs

The old one was removed, we we need to pull out the #ifdef.