Use logind for powering off too

Closes #11794

Signed-off-by: Stuart Morgan <smorgan@mythtv.org>